/*
 * @Author: your name
 * @Date: 2020-04-22 16:51:05
 * @LastEditTime: 2020-04-22 16:52:43
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \v1.0.0\store\mutations.js
 */

export const logout = (state) => {
	state.hasLogin = false
	state.userName = "";
	state.openid = null
};

export const setColorIndex = (state, index) => {
	state.colorIndex = index
};
export const setNavigateFlag = (state, flag) => {
	state.navigateFlag = flag
}

export const setPushClient=(state,pushClient)=>{
	state.pushClient=pushClient;
}

export const setHasLogin=(state,hasLogin)=>{
	state.hasLogin=hasLogin;
}
export const setUserInfo=(state,userInfo)=>{
	state.UserInfo=userInfo;
}

export const setAppState=(state,appState)=>{
	state.AppState=appState;
}


